package sms;

import android.telephony.SmsManager;
import android.util.Log;

/**
 * Created by Vyacheslav on 05.07.2014.
 */
public class SmsSender {

    public static boolean sendSMS(String phone, String text) {

        SmsManager smsManager = SmsManager.getDefault();
        smsManager.sendTextMessage(phone, null, text, null, null);
        Log.d("MyLogs",phone);
        Log.d("MyLogs",text);
        return true;
    }
}
